class People:
    def __init__(self):
        self.name = People

    def say(self):
        print("People类", self.name)


class Animal:
    def __init__(self):
        self.name = Animal

    def say(self):
        print("Animal类", self.name)

    def display(self):
        print("人也是高级动物")


# 多继承 谁在前 继承谁的方法
class Person(Animal, People):
    pass


zs = Person()
zs.name = "张三"
zs.say()
zs.display()
